home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 26
/
Cream of the Crop 26.iso
/
program
/
ddj0897.zip
/
DYN401.ZIP
/
dropunx.sh
< prev
next >
Wrap
Linux/UNIX/POSIX Shell Script
|
1996-02-16
|
347b
|
16 lines
#!/bin/sh -u
# This script removed the need for "-f makefile.unx" when making the system
# by taking the .unx off all the unix makefiles
UNX_FILES=`find . -name makefile.unx -print`
for UNX_FILE in $UNX_FILES
do
FILE=`echo $UNX_FILE | sed 's/\.unx//g'`
mv $UNX_FILE $FILE
done
sed 's/\makefile.unx/makefile/g' <makefile >xxx
mv xxx makefile